<?php
namespace Home\Controller;
use Think\Controller\RpcController;
class TestController extends RpcController {
	protected $allowMethodList =    array('test1','test2');
    public function test1(){
        return 'test1';
    }
    
    public function test2(){
        return 'test2';
    }
}